//
//  UIExtendButton.h
//  sdk2.0zhengquandasha
//
//  Created by Choi on 15/12/25.
//  Copyright © 2015年 palmaplus. All rights reserved.
//

#import <UIKit/UIKit.h>
/** 展开方向 */
typedef NS_ENUM(NSInteger,ExtendDirection) {
    ExtendNone = 0,
    ExtendTop = 1 << 0,
    ExtendLeft = 1 << 1,
    ExtendBottom = 1 << 2,
    ExtendRight = 1 << 3,
};

@interface UIExtendButton : UIButton
@property(nonatomic,strong)NSArray *subTitleArray;
@property(nonatomic,assign)ExtendDirection extendStyle;
@property(nonatomic,copy)void (^clickBlock)(int index);
@end
